#!/bin/bash
if [ $(which pkexec) ]; then
	pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
else
	/usr/bin/gparted "$@"
fi
